Visual Basic (Declaration) | |
---|---|
Overloads Public Function ReadFrames( _ ByVal codecs As RasterCodecs, _ ByVal stream As Stream, _ ByVal frames As List(Of Integer), _ ByVal bitsPerPixel As Integer, _ ByVal order As CodecsLoadByteOrder _ ) As List(Of CompositeJpxImages) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public List<CompositeJpxImages> ReadFrames( RasterCodecs codecs, Stream stream, List<int> frames, int bitsPerPixel, CodecsLoadByteOrder order ) |
Managed Extensions for C++ | |
---|---|
public: List<CompositeJpxImages>* ReadFrames( RasterCodecs codecs, Stream* stream, List<int>* frames, int bitsPerPixel, CodecsLoadByteOrder order ) |
C++/CLI | |
---|---|
public: List<CompositeJpxImages>^ ReadFrames( RasterCodecs codecs, Stream^ stream, List<int>^ frames, int bitsPerPixel, CodecsLoadByteOrder order ) |
Parameters
- codecs
- The RasterCodecs object.
- stream
- A Stream containing the image data being loaded.
- frames
- Frame indices. A list of integers specifying the indices of the frames to be loaded from the stream.
- bitsPerPixel
- Resulting image pixel depth. If this value is zero [0], the image will have the original file’s pixel depth (the image will not be converted).
- order
Color order for 16-, 24-, 32-, 48-, and 64-bit images. If the resulting image is less than 16 bits per pixel, this will have no effect since palletized images do not use color order. Valid values are as follows:
Value Meaning CodecsLoadByteOrder.Rgb Red, green, and blue color order in memory CodecsLoadByteOrder.Bgr Blue, green, and red color order in memory CodecsLoadByteOrder.Gray 12- or 16-bit grayscale image. 12- and 16-bit grayscale images are supported only in the Document/Medical Imaging editions. CodecsLoadByteOrder.RgbOrGray Load the image as red, green, blue OR as a 12- or 16-bit grayscale image. 12- and 16-bit grayscale images are supported only in the Document/Medical Imaging editions. CodecsLoadByteOrder.BgrOrGray Load the image as blue, green, red OR as a 12- or 16-bit grayscale image. 12- and 16-bit grayscale images are supported only in the Document/Medical Imaging editions. CodecsLoadByteOrder.Romm ROMM order. ROMM only supports 24- and 48-bit images. CodecsLoadByteOrder.BgrOrGrayOrRomm Load the image as red, green, blue OR as a 12- or 16-bit grayscale image OR as ROMM. 12- and 16-bit grayscale images are supported only in the Document/Medical Imaging editions. ROMM only supports 24- and 48-bit color images.
Return Value
The CompositeJpxImages list that this method loads.Visual Basic | Copy Code |
---|---|
Leadtools.Jpeg2000.Jpeg2000Engine.ReadFrames(Stream) |
C# | Copy Code |
---|---|
Leadtools.Jpeg2000.Jpeg2000Engine.ReadFrames(Stream) |
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Reference
Jpeg2000Engine ClassJpeg2000Engine Members
Overload List
AppendFrames
Load
LoadComposite
ReadFrames(RasterCodecs,String, List, Int32, CodecsLoadByteOrder)
Save
SaveComposite
Compression Using LEAD and JPEG Formats
File Formats - JPEG And LEAD Compressed
Bitmaps In Memory And In Files
JPEG2000 File Comments
JPEG And LEAD File Comments
Programming with JPEG 2000 Features
JPEG 2000 Boxes